/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-08-14
 * Time: 17:14
 */
public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addFirst(1);
        mySingleList.addFirst(3);
        mySingleList.addFirst(3);
        mySingleList.addFirst(3);
        mySingleList.addFirst(5);
        mySingleList.addIndex(2,6);
        mySingleList.display();
        //mySingleList.removeAllKey(3);
        mySingleList.clear();
        mySingleList.display();
    }

    public static void main1(String[] args) {
        IList list = new MySingleList();
        list.createList();
        //list.display();
        //System.out.print(list.size());
        //System.out.println();
        //System.out.println(list.contains(4));
        //list.addIndex(2,99);
        //list.remove(12);
        list.clear();
        list.display();
    }
}

